<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    span {
      margin-top: 10px;
    }
  </style>
</head>
<body>
  <div>我是一个块级元素</div>
  <span>我是第1个行内元素</span>
  <span>我是第2个行内元素</span>
</body>
</html>